/**
 * Project Name:fire-industry-DM-center
 * File Name:ElasticsearchProperties.java
 * Package Name:com.firestone.config.elasticsearch
 * Date:2018年3月14日下午4:26:09
 *
*/

package com.firestone.config.elasticsearch;

import java.util.HashMap;
import java.util.Map;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Description: TODO(ES配置)
 * @author CAIYJ
 * @date 2018年3月14日 下午4:26:09
 */
@ConfigurationProperties(prefix = "spring.elasticsearch")
public class ElasticsearchProperties {
    /**
     * Elasticsearch cluster name.
     */
    private String clusterName = "elasticsearch";

    /**
     * Comma-separated list of cluster node addresses. If not specified, starts a client
     * node.
     */
    private String clusterNodes;

    /**
     * Additional properties used to configure the client.
     */
    private Map<String, String> properties = new HashMap<String, String>();

    public String getClusterName() {
        return this.clusterName;
    }

    public void setClusterName(String clusterName) {
        this.clusterName = clusterName;
    }

    public String getClusterNodes() {
        return this.clusterNodes;
    }

    public void setClusterNodes(String clusterNodes) {
        this.clusterNodes = clusterNodes;
    }

    public Map<String, String> getProperties() {
        return this.properties;
    }

    public void setProperties(Map<String, String> properties) {
        this.properties = properties;
    }

}

